﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace B.WMS.InWareHouseManagement
{
    public class IOWareHouseRecordModel : AuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 应用ID
        /// </summary>
        public string Appid { get; set; }

        /// <summary>
        /// 记录类型
        /// 1，入库
        /// 2，出库
        /// </summary>
        public int Recordtype { get; set; }

        /// <summary>
        /// 状态
        /// 1.待入库
        /// 2.已入库
        /// 3.待出库
        /// 4.已出库
        /// 5.取消入库
        /// 6.取消出库
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime Operationdate { get; set; }

        /// <summary>
        /// 仓库Id
        /// </summary>
        public string WarehouseId { get; set; }
        /// <summary>
        /// 库位Id
        /// </summary>
        public string LocationId { get; set; }

        /// <summary>
        /// 关联单号
        /// </summary>
        public string Relationordernum { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public string GoodsId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string Operationuser { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Util { get; set; }

        /// <summary>
        /// 入库金额
        /// </summary>
        public decimal Money { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string? Audituser { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? Auditdate { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Isdelete { get; set; } = false;

        /// <summary>
        /// 冗余字段1
        /// </summary>
        public string? Bake1 { get; set; }

        /// <summary>
        /// 冗余字段2
        /// </summary>
        public string? Bake2 { get; set; }

        /// <summary>
        /// 冗余字段3
        /// </summary>
        public string? Bake3 { get; set; }

        /// <summary>
        /// 冗余字段4
        /// </summary>
        public string? Bake4 { get; set; }

        /// <summary>
        /// 冗余字段5
        /// </summary>
        public string? Bake5 { get; set; }
    }
}
